ptx is a Unix utility, named for the permuted index which can perform the function of the Keyword in Context (KWIC) search mode. There is a corresponding IBM mainframe utility which performs the same function.